Component({
  properties: {
    name: {
      type: String,
      value: ''
    },
    icon: {
      type: String,
      value: ''
    },
    id: {
      type: Number,
      value: 0
    }
  },
  methods: {
    onDelete: function() {
      this.triggerEvent('delete', { id: this.properties.id });
    }
  }
});
